package com.sg.service.biz.component.impl;

import com.sg.common.util.CommonFunctionHelper;
import com.sg.common.util.RedisUtil;
import com.sg.dto.biz.component.req.*;
import com.sg.dto.biz.component.res.*;
import com.sg.service.biz.component.BusinessAtomService;
import com.sg.service.biz.component.ConfSchemeService;
import com.sg.common.exception.Assert;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.stream.Collectors;

/**
 * @author ：
 * @version 1.0
 * @date ：
 */
@Service
public class StandardDataServiceImpl
        implements com.wicket.okrcomponent.biz.service.StandardDataService {

    @Resource
    private RedisUtil redisUtil;
    @Resource
    private BusinessAtomService businessAtomService;
    //@Resource
    //private MMmmShellService mMmmShellService;
    @Resource
    private NbStandardData nbStandardData;
    @Resource
    private ConfSchemeService confSchemeService;
//@Resource
    //private MOmsTargetAttributionCycleService mOmsTargetAttributionCycleService;
//@Resource
    //private undefinedService undefinedService;

    /**
     * D2-新增财务账户标准数据快照个性准备(账户reids)[8440]
     * gen by moon at 5/27/2024, 10:08:56 PM
     */
    @Trace(operationName = "D2-新增财务账户标准数据快照个性准备(账户reids)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public AddPersonPreFinStandardDataSnapshotAccComRespDto addPersonPreFinStandardDataSnapshotAccCom(AddPersonPreFinStandardDataSnapshotAccComReqDto reqDto) {


        //步骤0: D2-新增redis业务数据对象（业务原子） - addRedisBusinessDataSetCom
        AddRedisBusinessDataSetComRespDto addRedisBusinessDataSetComRespDto = null;
        AddRedisBusinessDataSetComReqDto addRedisBusinessDataSetComReqDto = new AddRedisBusinessDataSetComReqDto();
        addRedisBusinessDataSetComReqDto.setRedisDataObjectCatalogue("计算临时数据");//sourceId:1823061_1
        addRedisBusinessDataSetComReqDto.setIsDeleteRedis("FALSE");//sourceId:1823062_1
        addRedisBusinessDataSetComReqDto.setDuration(Long.valueOf(2));//CUSTOM_CONVENTION//sourceId:1823063_1
        addRedisBusinessDataSetComReqDto.setTimeUnitType("HOUR");//sourceId:1823064_1
        addRedisBusinessDataSetComReqDto.setIsDataList("TRUE");//sourceId:1525548_1
        addRedisBusinessDataSetComReqDto.setCustomField1("accountId");//CUSTOM_CONVENTION//sourceId:1525549_1
        addRedisBusinessDataSetComReqDto.setCustomField2("accountActualBalance");//CUSTOM_CONVENTION//sourceId:1525551_1
        addRedisBusinessDataSetComReqDto.setCustomField3("settlableBalance");//CUSTOM_CONVENTION//sourceId:1525553_1
        addRedisBusinessDataSetComReqDto.setCustomField4("unSettlableBalance");//CUSTOM_CONVENTION//sourceId:1525555_1
        addRedisBusinessDataSetComReqDto.setCustomField5("accruedSettledAmount");//CUSTOM_CONVENTION//sourceId:1525557_1
        addRedisBusinessDataSetComReqDto.setCustomField6("totalBudgetAmount");//CUSTOM_CONVENTION//sourceId:1525559_1
        addRedisBusinessDataSetComReqDto.setCustomField7("isBudgetAccount");//CUSTOM_CONVENTION//sourceId:1539063_1
        addRedisBusinessDataSetComReqDto.setCustomField8("accountObjectId");//CUSTOM_CONVENTION//sourceId:1539364_1
        if (reqDto != null) {
            addRedisBusinessDataSetComReqDto.setBusinessDataObject(reqDto.getBusinessDataObject());//SimpleFieldAssign//sourceId:1525546_1
            addRedisBusinessDataSetComReqDto.setDataObjectBatchCode(reqDto.getDataObjectBatchCode());//SimpleFieldAssign//sourceId:1525547_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue1(reqDto.getCustomFieldValue1());//SimpleFieldAssign//sourceId:1525550_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue2(reqDto.getCustomFieldValue2());//SimpleFieldAssign//sourceId:1525552_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue3(reqDto.getCustomFieldValue3());//SimpleFieldAssign//sourceId:1525554_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue4(reqDto.getCustomFieldValue4());//SimpleFieldAssign//sourceId:1525556_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue5(reqDto.getCustomFieldValue5());//SimpleFieldAssign//sourceId:1525558_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue6(reqDto.getCustomFieldValue6());//SimpleFieldAssign//sourceId:1525560_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue7(reqDto.getCustomFieldValue7());//SimpleFieldAssign//sourceId:1539064_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue8(reqDto.getCustomFieldValue8());//SimpleFieldAssign//sourceId:1539365_1
        }

        /*D2-新增redis业务数据对象（业务原子）[8399]   */
        Assert.isNull(addRedisBusinessDataSetComReqDto.getBusinessDataObject(), "D2-新增财务账户标准数据快照个性准备(账户reids)-D2-新增redis业务数据对象（业务原子）-业务数据对象不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getRedisDataObjectCatalogue(), "D2-新增财务账户标准数据快照个性准备(账户reids)-D2-新增redis业务数据对象（业务原子）-Redis数据对象目录不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getIsDeleteRedis(), "D2-新增财务账户标准数据快照个性准备(账户reids)-D2-新增redis业务数据对象（业务原子）-是否删除redis历史数据不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getDuration(), "D2-新增财务账户标准数据快照个性准备(账户reids)-D2-新增redis业务数据对象（业务原子）-锁定时长不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getTimeUnitType(), "D2-新增财务账户标准数据快照个性准备(账户reids)-D2-新增redis业务数据对象（业务原子）-时间单位类型不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getIsDataList(), "D2-新增财务账户标准数据快照个性准备(账户reids)-D2-新增redis业务数据对象（业务原子）-是否是数据集对象不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField1(), "D2-新增财务账户标准数据快照个性准备(账户reids)-D2-新增redis业务数据对象（业务原子）-自定义字段1不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue1(), "D2-新增财务账户标准数据快照个性准备(账户reids)-D2-新增redis业务数据对象（业务原子）-自定义字段值1不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField2(), "D2-新增财务账户标准数据快照个性准备(账户reids)-D2-新增redis业务数据对象（业务原子）-自定义字段2不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue2(), "D2-新增财务账户标准数据快照个性准备(账户reids)-D2-新增redis业务数据对象（业务原子）-自定义字段值2不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField3(), "D2-新增财务账户标准数据快照个性准备(账户reids)-D2-新增redis业务数据对象（业务原子）-自定义字段3不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue3(), "D2-新增财务账户标准数据快照个性准备(账户reids)-D2-新增redis业务数据对象（业务原子）-自定义字段值3不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField4(), "D2-新增财务账户标准数据快照个性准备(账户reids)-D2-新增redis业务数据对象（业务原子）-自定义字段4不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue4(), "D2-新增财务账户标准数据快照个性准备(账户reids)-D2-新增redis业务数据对象（业务原子）-自定义字段值4不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField5(), "D2-新增财务账户标准数据快照个性准备(账户reids)-D2-新增redis业务数据对象（业务原子）-自定义字段5不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue5(), "D2-新增财务账户标准数据快照个性准备(账户reids)-D2-新增redis业务数据对象（业务原子）-自定义字段值5不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField6(), "D2-新增财务账户标准数据快照个性准备(账户reids)-D2-新增redis业务数据对象（业务原子）-自定义字段6不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue6(), "D2-新增财务账户标准数据快照个性准备(账户reids)-D2-新增redis业务数据对象（业务原子）-自定义字段值6不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField7(), "D2-新增财务账户标准数据快照个性准备(账户reids)-D2-新增redis业务数据对象（业务原子）-自定义字段7不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue7(), "D2-新增财务账户标准数据快照个性准备(账户reids)-D2-新增redis业务数据对象（业务原子）-自定义字段值7不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField8(), "D2-新增财务账户标准数据快照个性准备(账户reids)-D2-新增redis业务数据对象（业务原子）-自定义字段8不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue8(), "D2-新增财务账户标准数据快照个性准备(账户reids)-D2-新增redis业务数据对象（业务原子）-自定义字段值8不能为空", false);
        addRedisBusinessDataSetComRespDto = businessAtomService.addRedisBusinessDataSetCom(addRedisBusinessDataSetComReqDto)/*vcase invoke isSameApp*/;


        AddPersonPreFinStandardDataSnapshotAccComRespDto retData = new AddPersonPreFinStandardDataSnapshotAccComRespDto();


        return retData;
    }

    /**
     * D2-查询财务账户标准数据快照个性准备列表(目标内容周期、相关人与账户等redis)[8418]
     * gen by moon at 6/16/2024, 2:27:11 AM
     */
    @Trace(operationName = "D2-查询财务账户标准数据快照个性准备列表(目标内容周期、相关人与账户等redis)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryPersonPreFinStandardDataSnapshotListComRespDto queryPersonPreFinStandardDataSnapshotListCom(QueryPersonPreFinStandardDataSnapshotListComReqDto reqDto) {


        QueryRedisBusinessDataSetListComRespDto queryRedisBusinessDataSetListComRespDto_1 = null;
//步骤0: D2-查询redis业务数据对象列表（业务原子） - queryRedisBusinessDataSetListCom
        QueryRedisBusinessDataSetListComRespDto queryRedisBusinessDataSetListComRespDto = null;
        QueryRedisBusinessDataSetListComReqDto queryRedisBusinessDataSetListComReqDto = new QueryRedisBusinessDataSetListComReqDto();
        queryRedisBusinessDataSetListComReqDto.setRedisDataObjectCatalogue("计算临时数据");//sourceId:1823179_1
        queryRedisBusinessDataSetListComReqDto.setCustomField16("accountId");//CUSTOM_CONVENTION//sourceId:1520475_1
        queryRedisBusinessDataSetListComReqDto.setCustomField1("isBudgetAccount");//CUSTOM_CONVENTION//sourceId:1520460_1
        queryRedisBusinessDataSetListComReqDto.setCustomField17("totalBudgetAmount");//CUSTOM_CONVENTION//sourceId:1520476_1
        queryRedisBusinessDataSetListComReqDto.setCustomField18("accountActualBalance");//CUSTOM_CONVENTION//sourceId:1520477_1
        queryRedisBusinessDataSetListComReqDto.setCustomField19("settlableBalance");//CUSTOM_CONVENTION//sourceId:1520478_1
        queryRedisBusinessDataSetListComReqDto.setCustomField20("unSettlableBalance");//CUSTOM_CONVENTION//sourceId:1520479_1
        queryRedisBusinessDataSetListComReqDto.setCustomField21("accruedSettledAmount");//CUSTOM_CONVENTION//sourceId:1520480_1
        queryRedisBusinessDataSetListComReqDto.setCustomField23("fundUsageRate");//CUSTOM_CONVENTION//sourceId:1801411_1
        queryRedisBusinessDataSetListComReqDto.setCustomField3("periodId");//CUSTOM_CONVENTION//sourceId:1520462_1
        queryRedisBusinessDataSetListComReqDto.setCustomField4("cycleStartTime");//CUSTOM_CONVENTION//sourceId:1520463_1
        queryRedisBusinessDataSetListComReqDto.setCustomField5("cycleEndTime");//CUSTOM_CONVENTION//sourceId:1520464_1
        queryRedisBusinessDataSetListComReqDto.setCustomField6("cycleTypeCode");//CUSTOM_CONVENTION//sourceId:1520465_1
        queryRedisBusinessDataSetListComReqDto.setCustomField7("cycleTypeInstanceCode");//CUSTOM_CONVENTION//sourceId:1520466_1
        queryRedisBusinessDataSetListComReqDto.setCustomField9("entityId");//CUSTOM_CONVENTION//sourceId:1520468_1
        queryRedisBusinessDataSetListComReqDto.setCustomField2("belongToContentTypeCode");//CUSTOM_CONVENTION//sourceId:1520461_1
        queryRedisBusinessDataSetListComReqDto.setCustomField10("belongToContentId");//CUSTOM_CONVENTION//sourceId:1520469_1
        queryRedisBusinessDataSetListComReqDto.setCustomField11("extendedField2");//CUSTOM_CONVENTION//sourceId:1520470_1
        queryRedisBusinessDataSetListComReqDto.setCustomField12("personLiableObjId");//CUSTOM_CONVENTION//sourceId:1520471_1
        queryRedisBusinessDataSetListComReqDto.setCustomField13("bizRoleObjId");//CUSTOM_CONVENTION//sourceId:1520472_1
        queryRedisBusinessDataSetListComReqDto.setCustomField14("bizRoleObjCode");//CUSTOM_CONVENTION//sourceId:1520473_1
        queryRedisBusinessDataSetListComReqDto.setCustomField15("bizRoleObjName");//CUSTOM_CONVENTION//sourceId:1520474_1
        queryRedisBusinessDataSetListComReqDto.setCustomField22("belongToPersonalIdentityId");//CUSTOM_CONVENTION//sourceId:1628057_1
        queryRedisBusinessDataSetListComReqDto.setCustomField24("previousCycleId");//CUSTOM_CONVENTION//sourceId:1801412_1
        queryRedisBusinessDataSetListComReqDto.setCustomField25("lastEvaObjTargetCycleId");//CUSTOM_CONVENTION//sourceId:1801413_1
        queryRedisBusinessDataSetListComReqDto.setCustomField26("preUpdateCycleId");//CUSTOM_CONVENTION//sourceId:1801414_1
        queryRedisBusinessDataSetListComReqDto.setCustomField27("evaObjTypeCode");//CUSTOM_CONVENTION//sourceId:1815815_1
        queryRedisBusinessDataSetListComReqDto.setCustomField28("evaObjEntityId");//CUSTOM_CONVENTION//sourceId:1815816_1
        queryRedisBusinessDataSetListComReqDto.setCustomField29("standardDataCalcCycleModel");//CUSTOM_CONVENTION//sourceId:1849438_1
        queryRedisBusinessDataSetListComReqDto.setCustomField30("parentSubMidCycleType");//CUSTOM_CONVENTION//sourceId:1849439_1
        if (reqDto != null) {
            queryRedisBusinessDataSetListComReqDto.setBusinessDataObject(reqDto.getBusinessDataObject());//SimpleFieldAssign//sourceId:1520458_1
            queryRedisBusinessDataSetListComReqDto.setDataObjectBatchCode(reqDto.getDataObjectBatchCode());//SimpleFieldAssign//sourceId:1520459_1
        }

        /*D2-查询redis业务数据对象列表（业务原子）[8420]   */
        Assert.isNull(queryRedisBusinessDataSetListComReqDto.getBusinessDataObject(), "D2-查询财务账户标准数据快照个性准备列表(目标内容周期、相关人与账户等redis)-D2-查询redis业务数据对象列表（业务原子）-业务数据对象不能为空", false);
        Assert.isNull(queryRedisBusinessDataSetListComReqDto.getDataObjectBatchCode(), "D2-查询财务账户标准数据快照个性准备列表(目标内容周期、相关人与账户等redis)-D2-查询redis业务数据对象列表（业务原子）-数据对象批次标识不能为空", false);
        Assert.isNull(queryRedisBusinessDataSetListComReqDto.getRedisDataObjectCatalogue(), "D2-查询财务账户标准数据快照个性准备列表(目标内容周期、相关人与账户等redis)-D2-查询redis业务数据对象列表（业务原子）-Redis数据对象目录不能为空", false);
        Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField16(), "D2-查询财务账户标准数据快照个性准备列表(目标内容周期、相关人与账户等redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段16不能为空", false);
        Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField1(), "D2-查询财务账户标准数据快照个性准备列表(目标内容周期、相关人与账户等redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段1不能为空", false);
        Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField17(), "D2-查询财务账户标准数据快照个性准备列表(目标内容周期、相关人与账户等redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段17不能为空", false);
        Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField18(), "D2-查询财务账户标准数据快照个性准备列表(目标内容周期、相关人与账户等redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段18不能为空", false);
        Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField19(), "D2-查询财务账户标准数据快照个性准备列表(目标内容周期、相关人与账户等redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段19不能为空", false);
        Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField20(), "D2-查询财务账户标准数据快照个性准备列表(目标内容周期、相关人与账户等redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段20不能为空", false);
        Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField21(), "D2-查询财务账户标准数据快照个性准备列表(目标内容周期、相关人与账户等redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段21不能为空", false);
        Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField3(), "D2-查询财务账户标准数据快照个性准备列表(目标内容周期、相关人与账户等redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段3不能为空", false);
        Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField4(), "D2-查询财务账户标准数据快照个性准备列表(目标内容周期、相关人与账户等redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段4不能为空", false);
        Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField5(), "D2-查询财务账户标准数据快照个性准备列表(目标内容周期、相关人与账户等redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段5不能为空", false);
        Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField6(), "D2-查询财务账户标准数据快照个性准备列表(目标内容周期、相关人与账户等redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段6不能为空", false);
        Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField7(), "D2-查询财务账户标准数据快照个性准备列表(目标内容周期、相关人与账户等redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段7不能为空", false);
        Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField9(), "D2-查询财务账户标准数据快照个性准备列表(目标内容周期、相关人与账户等redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段9不能为空", false);
        Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField2(), "D2-查询财务账户标准数据快照个性准备列表(目标内容周期、相关人与账户等redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段2不能为空", false);
        Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField10(), "D2-查询财务账户标准数据快照个性准备列表(目标内容周期、相关人与账户等redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段10不能为空", false);
        Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField11(), "D2-查询财务账户标准数据快照个性准备列表(目标内容周期、相关人与账户等redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段11不能为空", false);
        Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField12(), "D2-查询财务账户标准数据快照个性准备列表(目标内容周期、相关人与账户等redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段12不能为空", false);
        Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField13(), "D2-查询财务账户标准数据快照个性准备列表(目标内容周期、相关人与账户等redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段13不能为空", false);
        Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField14(), "D2-查询财务账户标准数据快照个性准备列表(目标内容周期、相关人与账户等redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段14不能为空", false);
        Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField15(), "D2-查询财务账户标准数据快照个性准备列表(目标内容周期、相关人与账户等redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段15不能为空", false);
        Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField22(), "D2-查询财务账户标准数据快照个性准备列表(目标内容周期、相关人与账户等redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段22不能为空", false);
        Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField27(), "D2-查询财务账户标准数据快照个性准备列表(目标内容周期、相关人与账户等redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段27不能为空", false);
        Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField28(), "D2-查询财务账户标准数据快照个性准备列表(目标内容周期、相关人与账户等redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段28不能为空", false);
        Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField29(), "D2-查询财务账户标准数据快照个性准备列表(目标内容周期、相关人与账户等redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段29不能为空", false);
        Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField30(), "D2-查询财务账户标准数据快照个性准备列表(目标内容周期、相关人与账户等redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段30不能为空", false);
        queryRedisBusinessDataSetListComRespDto = businessAtomService.queryRedisBusinessDataSetListCom(queryRedisBusinessDataSetListComReqDto)/*vcase invoke isSameApp*/;


        queryRedisBusinessDataSetListComRespDto_1 = queryRedisBusinessDataSetListComRespDto;

        QueryPersonPreFinStandardDataSnapshotListComRespDto retData = new QueryPersonPreFinStandardDataSnapshotListComRespDto();
        if (queryRedisBusinessDataSetListComRespDto_1 != null) {
            retData.setRedisBusinessDataResList(//objList-to-objLists
                    queryRedisBusinessDataSetListComRespDto_1.getRedisBusinessDataResList().stream().map(item -> {
                        RedisBusinessDataResDto elm = new RedisBusinessDataResDto();
                        if (item != null) {
                            elm.setAccountId(item.getCustomField16());//SimpleFieldAssign//sourceId:306575_2
                            elm.setIsBudgetAccount(item.getCustomField1());//SimpleFieldAssign//sourceId:306560_2
                            elm.setTotalBudgetAmount(item.getCustomField17());//SimpleFieldAssign//sourceId:306576_2
                            elm.setAccountActualBalance(item.getCustomField18());//SimpleFieldAssign//sourceId:306577_2
                            elm.setSettlableBalance(item.getCustomField19());//SimpleFieldAssign//sourceId:306578_2
                            elm.setUnSettlableBalance(item.getCustomField20());//SimpleFieldAssign//sourceId:306579_2
                            elm.setAccruedSettledAmount(item.getCustomField21());//SimpleFieldAssign//sourceId:306580_2
                            elm.setFundUsageRate(item.getCustomField23());//SimpleFieldAssign//sourceId:324747_2
                            elm.setPeriodId(item.getCustomField3());//SimpleFieldAssign//sourceId:306562_2
                            elm.setCycleStartTime(item.getCustomField4() != null ? CommonFunctionHelper.str2Date(item.getCustomField4()) : null);//SimpleFieldAssign//sourceId:306563_2
                            elm.setCycleEndTime(item.getCustomField5() != null ? CommonFunctionHelper.str2Date(item.getCustomField5()) : null);//SimpleFieldAssign//sourceId:306564_2
                            elm.setCycleTypeCode(item.getCustomField6());//SimpleFieldAssign//sourceId:306565_2
                            elm.setCycleTypeInstanceCode(item.getCustomField7());//SimpleFieldAssign//sourceId:306566_2
                            elm.setEntityId(item.getCustomField9());//SimpleFieldAssign//sourceId:306568_2
                            elm.setBelongToContentTypeCode(item.getCustomField2());//SimpleFieldAssign//sourceId:306561_2
                            elm.setBelongToContentId(item.getCustomField10());//SimpleFieldAssign//sourceId:306569_2
                            elm.setExtendedField2(item.getCustomField11());//SimpleFieldAssign//sourceId:306570_2
                            elm.setPersonLiableObjId(item.getCustomField12());//SimpleFieldAssign//sourceId:306571_2
                            elm.setBizRoleObjId(item.getCustomField13());//SimpleFieldAssign//sourceId:306572_2
                            elm.setBizRoleObjCode(item.getCustomField14());//SimpleFieldAssign//sourceId:306573_2
                            elm.setBizRoleObjName(item.getCustomField15());//SimpleFieldAssign//sourceId:306574_2
                            elm.setBelongToPersonalIdentityId(item.getCustomField22());//SimpleFieldAssign//sourceId:312594_2
                            elm.setPreviousCycleId(item.getCustomField24());//SimpleFieldAssign//sourceId:362891_2
                            elm.setLastEvaObjTargetCycleId(item.getCustomField25());//SimpleFieldAssign//sourceId:362892_2
                            elm.setPreUpdateCycleId(item.getCustomField26());//SimpleFieldAssign//sourceId:362893_2
                            elm.setEvaObjTypeCode(item.getCustomField27());//SimpleFieldAssign//sourceId:362894_2
                            elm.setEvaObjEntityId(item.getCustomField28());//SimpleFieldAssign//sourceId:365106_2
                            elm.setStandardDataCalcCycleModel(item.getCustomField29());//SimpleFieldAssign//sourceId:371013_2
                            elm.setParentSubMidCycleType(item.getCustomField30());//SimpleFieldAssign//sourceId:371014_2
                        }
                        return elm;
                    }).collect(Collectors.toList()));//objList-to-objLists//sourceId:1566848_1
        }


        return retData;
    }

    /**
     * D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)[8439]
     * gen by moon at 6/5/2024, 6:07:59 PM
     */
    @Trace(operationName = "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public AddPersonPreFinStandardDataSnapshotComRespDto addPersonPreFinStandardDataSnapshotCom(AddPersonPreFinStandardDataSnapshotComReqDto reqDto) {


        //步骤0: D2-新增redis业务数据对象（业务原子） - addRedisBusinessDataSetCom
        AddRedisBusinessDataSetComRespDto addRedisBusinessDataSetComRespDto = null;
        AddRedisBusinessDataSetComReqDto addRedisBusinessDataSetComReqDto = new AddRedisBusinessDataSetComReqDto();
        addRedisBusinessDataSetComReqDto.setRedisDataObjectCatalogue("计算临时数据");//sourceId:1823065_1
        addRedisBusinessDataSetComReqDto.setIsDeleteRedis("FALSE");//sourceId:1823066_1
        addRedisBusinessDataSetComReqDto.setDuration(Long.valueOf(2));//CUSTOM_CONVENTION//sourceId:1823067_1
        addRedisBusinessDataSetComReqDto.setTimeUnitType("HOUR");//sourceId:1823068_1
        addRedisBusinessDataSetComReqDto.setIsDataList("TRUE");//sourceId:1525421_1
        addRedisBusinessDataSetComReqDto.setCustomField1("isBudgetAccount");//CUSTOM_CONVENTION//sourceId:1525423_1
        addRedisBusinessDataSetComReqDto.setCustomField2("belongToContentTypeCode");//CUSTOM_CONVENTION//sourceId:1525425_1
        addRedisBusinessDataSetComReqDto.setCustomField3("periodId");//CUSTOM_CONVENTION//sourceId:1525427_1
        addRedisBusinessDataSetComReqDto.setCustomField4("cycleStartTime");//CUSTOM_CONVENTION//sourceId:1525429_1
        addRedisBusinessDataSetComReqDto.setCustomField5("cycleEndTime");//CUSTOM_CONVENTION//sourceId:1525431_1
        addRedisBusinessDataSetComReqDto.setCustomField6("cycleTypeCode");//CUSTOM_CONVENTION//sourceId:1525433_1
        addRedisBusinessDataSetComReqDto.setCustomField7("cycleTypeInstanceCode");//CUSTOM_CONVENTION//sourceId:1525435_1
        addRedisBusinessDataSetComReqDto.setCustomField9("entityId");//CUSTOM_CONVENTION//sourceId:1525439_1
        addRedisBusinessDataSetComReqDto.setCustomField10("belongToContentId");//CUSTOM_CONVENTION//sourceId:1525441_1
        addRedisBusinessDataSetComReqDto.setCustomField11("extendedField2");//CUSTOM_CONVENTION//sourceId:1525443_1
        addRedisBusinessDataSetComReqDto.setCustomField12("personLiableObjId");//CUSTOM_CONVENTION//sourceId:1525445_1
        addRedisBusinessDataSetComReqDto.setCustomField13("bizRoleObjId");//CUSTOM_CONVENTION//sourceId:1525447_1
        addRedisBusinessDataSetComReqDto.setCustomField14("bizRoleObjCode");//CUSTOM_CONVENTION//sourceId:1525449_1
        addRedisBusinessDataSetComReqDto.setCustomField15("bizRoleObjName");//CUSTOM_CONVENTION//sourceId:1525451_1
        addRedisBusinessDataSetComReqDto.setCustomField16("accountId");//CUSTOM_CONVENTION//sourceId:1525453_1
        addRedisBusinessDataSetComReqDto.setCustomField17("totalBudgetAmount");//CUSTOM_CONVENTION//sourceId:1525455_1
        addRedisBusinessDataSetComReqDto.setCustomField18("accountActualBalance");//CUSTOM_CONVENTION//sourceId:1525457_1
        addRedisBusinessDataSetComReqDto.setCustomField19("settlableBalance");//CUSTOM_CONVENTION//sourceId:1525459_1
        addRedisBusinessDataSetComReqDto.setCustomField20("unSettlableBalance");//CUSTOM_CONVENTION//sourceId:1525461_1
        addRedisBusinessDataSetComReqDto.setCustomField21("accruedSettledAmount");//CUSTOM_CONVENTION//sourceId:1525463_1
        addRedisBusinessDataSetComReqDto.setCustomField22("fundUsageRate");//CUSTOM_CONVENTION//sourceId:1670402_1
        addRedisBusinessDataSetComReqDto.setCustomField23("previousCycleId");//CUSTOM_CONVENTION//sourceId:1801208_1
        addRedisBusinessDataSetComReqDto.setCustomField24("lastEvaObjTargetCycleId");//CUSTOM_CONVENTION//sourceId:1801210_1
        addRedisBusinessDataSetComReqDto.setCustomField25("belongToPersonalIdentityId");//CUSTOM_CONVENTION//sourceId:1801228_1
        addRedisBusinessDataSetComReqDto.setCustomField26("preUpdateCycleId");//CUSTOM_CONVENTION//sourceId:1801320_1
        addRedisBusinessDataSetComReqDto.setCustomField27("preUpdateEvaTargetCycleId");//CUSTOM_CONVENTION//sourceId:1801322_1
        addRedisBusinessDataSetComReqDto.setCustomField28("evaObjTypeCode");//CUSTOM_CONVENTION//sourceId:1815807_1
        addRedisBusinessDataSetComReqDto.setCustomField29("evaObjEntityId");//CUSTOM_CONVENTION//sourceId:1815809_1
        addRedisBusinessDataSetComReqDto.setCustomField30("standardDataCalcCycleModel");//CUSTOM_CONVENTION//sourceId:1849400_1
        addRedisBusinessDataSetComReqDto.setCustomField31("parentSubMidCycleType");//CUSTOM_CONVENTION//sourceId:1849402_1
        if (reqDto != null) {
            addRedisBusinessDataSetComReqDto.setBusinessDataObject(reqDto.getBusinessDataObject());//SimpleFieldAssign//sourceId:1525422_1
            addRedisBusinessDataSetComReqDto.setDataObjectBatchCode(reqDto.getDataObjectBatchCode());//SimpleFieldAssign//sourceId:1525523_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue1(reqDto.getCustomFieldValue1());//SimpleFieldAssign//sourceId:1525424_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue2(reqDto.getCustomFieldValue2());//SimpleFieldAssign//sourceId:1525426_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue3(reqDto.getCustomFieldValue3());//SimpleFieldAssign//sourceId:1525428_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue4(reqDto.getCustomFieldValue4());//SimpleFieldAssign//sourceId:1525430_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue5(reqDto.getCustomFieldValue5());//SimpleFieldAssign//sourceId:1525432_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue6(reqDto.getCustomFieldValue6());//SimpleFieldAssign//sourceId:1525434_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue7(reqDto.getCustomFieldValue7());//SimpleFieldAssign//sourceId:1525436_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue9(reqDto.getCustomFieldValue9());//SimpleFieldAssign//sourceId:1525440_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue10(reqDto.getCustomFieldValue10());//SimpleFieldAssign//sourceId:1525442_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue11(reqDto.getCustomFieldValue11());//SimpleFieldAssign//sourceId:1525444_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue12(reqDto.getCustomFieldValue12());//SimpleFieldAssign//sourceId:1525446_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue13(reqDto.getCustomFieldValue13());//SimpleFieldAssign//sourceId:1525448_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue14(reqDto.getCustomFieldValue14());//SimpleFieldAssign//sourceId:1525450_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue15(reqDto.getCustomFieldValue15());//SimpleFieldAssign//sourceId:1525452_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue16(reqDto.getCustomFieldValue16());//SimpleFieldAssign//sourceId:1525454_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue17(reqDto.getCustomFieldValue17());//SimpleFieldAssign//sourceId:1525456_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue18(reqDto.getCustomFieldValue18());//SimpleFieldAssign//sourceId:1525458_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue19(reqDto.getCustomFieldValue19());//SimpleFieldAssign//sourceId:1525460_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue20(reqDto.getCustomFieldValue20());//SimpleFieldAssign//sourceId:1525462_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue21(reqDto.getCustomFieldValue21());//SimpleFieldAssign//sourceId:1525464_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue22(reqDto.getCustomFieldValue22());//SimpleFieldAssign//sourceId:1670403_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue23(reqDto.getCustomFieldValue23());//SimpleFieldAssign//sourceId:1801209_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue24(reqDto.getCustomFieldValue24());//SimpleFieldAssign//sourceId:1801211_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue25(reqDto.getCustomFieldValue25());//SimpleFieldAssign//sourceId:1801229_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue26(reqDto.getCustomFieldValue26());//SimpleFieldAssign//sourceId:1801321_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue27(reqDto.getCustomFieldValue27());//SimpleFieldAssign//sourceId:1801323_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue28(reqDto.getCustomFieldValue28());//SimpleFieldAssign//sourceId:1815808_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue29(reqDto.getCustomFieldValue29());//SimpleFieldAssign//sourceId:1815810_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue30(reqDto.getCustomFieldValue30());//SimpleFieldAssign//sourceId:1849401_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue31(reqDto.getCustomFieldValue31());//SimpleFieldAssign//sourceId:1849403_1
        }

        /*D2-新增redis业务数据对象（业务原子）[8399]   */
        Assert.isNull(addRedisBusinessDataSetComReqDto.getBusinessDataObject(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-业务数据对象不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getRedisDataObjectCatalogue(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-Redis数据对象目录不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getIsDeleteRedis(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-是否删除redis历史数据不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getDuration(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-锁定时长不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getTimeUnitType(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-时间单位类型不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getIsDataList(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-是否是数据集对象不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField1(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段1不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue1(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段值1不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField2(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段2不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue2(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段值2不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField3(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段3不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue3(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段值3不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField4(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段4不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue4(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段值4不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField5(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段5不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue5(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段值5不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField6(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段6不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue6(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段值6不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField7(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段7不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField9(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段9不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue9(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段值9不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField10(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段10不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue10(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段值10不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField11(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段11不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField12(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段12不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue12(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段值12不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField13(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段13不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue13(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段值13不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField14(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段14不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue14(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段值14不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField15(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段15不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue15(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段值15不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField16(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段16不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue16(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段值16不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField17(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段17不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue17(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段值17不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField18(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段18不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue18(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段值18不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField19(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段19不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue19(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段值19不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField20(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段20不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue20(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段值20不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField21(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段21不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue21(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段值21不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField22(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段22不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField23(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段23不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField24(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段24不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField25(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段25不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue25(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段值25不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField26(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段26不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField27(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段27不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField28(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段28不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue28(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段值28不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField29(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段29不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue29(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段值29不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField30(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段30不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue30(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段值30不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField31(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段31不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue31(), "D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-D2-新增redis业务数据对象（业务原子）-自定义字段值31不能为空", false);
        addRedisBusinessDataSetComRespDto = businessAtomService.addRedisBusinessDataSetCom(addRedisBusinessDataSetComReqDto)/*vcase invoke isSameApp*/;


        AddPersonPreFinStandardDataSnapshotComRespDto retData = new AddPersonPreFinStandardDataSnapshotComRespDto();


        return retData;
    }

    /**
     * D2新增目标内容周期与相关人等入参数据推reids(公共)[8565]
     * gen by moon at 6/6/2024, 8:51:48 PM
     */
    @Trace(operationName = "D2新增目标内容周期与相关人等入参数据推reids(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public AddTargetCycleAndPeopleEternalGinsengRedisComRespDto addTargetCycleAndPeopleEternalGinsengRedisCom(AddTargetCycleAndPeopleEternalGinsengRedisComReqDto reqDto) {


        //步骤0: D2-新增redis业务数据对象（业务原子） - addRedisBusinessDataSetCom
        AddRedisBusinessDataSetComRespDto addRedisBusinessDataSetComRespDto = null;
        AddRedisBusinessDataSetComReqDto addRedisBusinessDataSetComReqDto = new AddRedisBusinessDataSetComReqDto();
        addRedisBusinessDataSetComReqDto.setRedisDataObjectCatalogue("计算临时数据");//sourceId:1823069_1
        addRedisBusinessDataSetComReqDto.setIsDeleteRedis("FALSE");//sourceId:1823070_1
        addRedisBusinessDataSetComReqDto.setDuration(Long.valueOf(2));//CUSTOM_CONVENTION//sourceId:1823071_1
        addRedisBusinessDataSetComReqDto.setTimeUnitType("HOUR");//sourceId:1823072_1
        addRedisBusinessDataSetComReqDto.setIsDataList("TRUE");//sourceId:1569870_1
        addRedisBusinessDataSetComReqDto.setCustomField1("periodId");//CUSTOM_CONVENTION//sourceId:1569872_1
        addRedisBusinessDataSetComReqDto.setCustomField2("cycleStartTime");//CUSTOM_CONVENTION//sourceId:1569874_1
        addRedisBusinessDataSetComReqDto.setCustomField3("cycleEndTime");//CUSTOM_CONVENTION//sourceId:1569876_1
        addRedisBusinessDataSetComReqDto.setCustomField4("cycleTypeCode");//CUSTOM_CONVENTION//sourceId:1569878_1
        addRedisBusinessDataSetComReqDto.setCustomField5("cycleTypeInstanceCode");//CUSTOM_CONVENTION//sourceId:1569880_1
        addRedisBusinessDataSetComReqDto.setCustomField7("entityId");//CUSTOM_CONVENTION//sourceId:1569884_1
        addRedisBusinessDataSetComReqDto.setCustomField8("belongToContentTypeCode");//CUSTOM_CONVENTION//sourceId:1569886_1
        addRedisBusinessDataSetComReqDto.setCustomField9("belongToContentId");//CUSTOM_CONVENTION//sourceId:1569888_1
        addRedisBusinessDataSetComReqDto.setCustomField10("extendedField2");//CUSTOM_CONVENTION//sourceId:1569890_1
        addRedisBusinessDataSetComReqDto.setCustomField11("personLiableObjId");//CUSTOM_CONVENTION//sourceId:1569892_1
        addRedisBusinessDataSetComReqDto.setCustomField12("bizRoleObjId");//CUSTOM_CONVENTION//sourceId:1569894_1
        addRedisBusinessDataSetComReqDto.setCustomField13("bizRoleObjCode");//CUSTOM_CONVENTION//sourceId:1569896_1
        addRedisBusinessDataSetComReqDto.setCustomField14("bizRoleObjName");//CUSTOM_CONVENTION//sourceId:1569898_1
        addRedisBusinessDataSetComReqDto.setCustomField15("belongToPersonalIdentityId");//CUSTOM_CONVENTION//sourceId:1608511_1
        addRedisBusinessDataSetComReqDto.setCustomField16("previousCycleId");//CUSTOM_CONVENTION//sourceId:1799681_1
        addRedisBusinessDataSetComReqDto.setCustomField17("lastEvaObjTargetCycleId");//CUSTOM_CONVENTION//sourceId:1799683_1
        addRedisBusinessDataSetComReqDto.setCustomField18("evaObjTypeCode");//CUSTOM_CONVENTION//sourceId:1815793_1
        addRedisBusinessDataSetComReqDto.setCustomField19("evaObjEntityId");//CUSTOM_CONVENTION//sourceId:1815795_1
        addRedisBusinessDataSetComReqDto.setCustomField20("parentSubMidCycleType");//CUSTOM_CONVENTION//sourceId:1853100_1
        addRedisBusinessDataSetComReqDto.setCustomField21("standardDataCalcCycleModel");//CUSTOM_CONVENTION//sourceId:1853102_1
        if (reqDto != null) {
            addRedisBusinessDataSetComReqDto.setBusinessDataObject(reqDto.getBusinessDataObject());//SimpleFieldAssign//sourceId:1569871_1
            addRedisBusinessDataSetComReqDto.setDataObjectBatchCode(reqDto.getDataObjectBatchCode());//SimpleFieldAssign//sourceId:1569972_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue1(reqDto.getCustomFieldValue1());//SimpleFieldAssign//sourceId:1569873_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue2(reqDto.getCustomFieldValue2());//SimpleFieldAssign//sourceId:1569875_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue3(reqDto.getCustomFieldValue3());//SimpleFieldAssign//sourceId:1569877_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue4(reqDto.getCustomFieldValue4());//SimpleFieldAssign//sourceId:1569879_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue5(reqDto.getCustomFieldValue5());//SimpleFieldAssign//sourceId:1569881_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue7(reqDto.getCustomFieldValue7());//SimpleFieldAssign//sourceId:1569885_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue8(reqDto.getCustomFieldValue8());//SimpleFieldAssign//sourceId:1569887_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue9(reqDto.getCustomFieldValue9());//SimpleFieldAssign//sourceId:1569889_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue10(reqDto.getCustomFieldValue10());//SimpleFieldAssign//sourceId:1569891_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue11(reqDto.getCustomFieldValue11());//SimpleFieldAssign//sourceId:1569893_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue12(reqDto.getCustomFieldValue12());//SimpleFieldAssign//sourceId:1569895_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue13(reqDto.getCustomFieldValue13());//SimpleFieldAssign//sourceId:1569897_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue14(reqDto.getCustomFieldValue14());//SimpleFieldAssign//sourceId:1569899_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue15(reqDto.getCustomFieldValue15());//SimpleFieldAssign//sourceId:1608512_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue16(reqDto.getCustomFieldValue16());//SimpleFieldAssign//sourceId:1799682_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue17(reqDto.getCustomFieldValue17());//SimpleFieldAssign//sourceId:1799684_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue18(reqDto.getCustomFieldValue18());//SimpleFieldAssign//sourceId:1815794_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue19(reqDto.getCustomFieldValue19());//SimpleFieldAssign//sourceId:1815796_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue20(reqDto.getCustomFieldValue20());//SimpleFieldAssign//sourceId:1853101_1
            addRedisBusinessDataSetComReqDto.setCustomFieldValue21(reqDto.getCustomFieldValue21());//SimpleFieldAssign//sourceId:1853103_1
        }

        /*D2-新增redis业务数据对象（业务原子）[8399]   */
        Assert.isNull(addRedisBusinessDataSetComReqDto.getBusinessDataObject(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-业务数据对象不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getRedisDataObjectCatalogue(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-Redis数据对象目录不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getIsDeleteRedis(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-是否删除redis历史数据不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getDuration(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-锁定时长不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getTimeUnitType(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-时间单位类型不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getIsDataList(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-是否是数据集对象不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField1(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段1不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue1(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段值1不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField2(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段2不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue2(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段值2不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField3(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段3不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue3(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段值3不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField4(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段4不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue4(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段值4不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField5(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段5不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField7(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段7不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue7(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段值7不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField8(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段8不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue8(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段值8不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField9(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段9不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue9(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段值9不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField10(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段10不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField11(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段11不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue11(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段值11不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField12(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段12不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue12(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段值12不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField13(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段13不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue13(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段值13不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField14(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段14不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue14(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段值14不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField15(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段15不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue15(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段值15不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField16(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段16不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField17(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段17不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField18(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段18不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue18(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段值18不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField19(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段19不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue19(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段值19不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField20(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段20不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue20(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段值20不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField21(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段21不能为空", false);
        Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue21(), "D2新增目标内容周期与相关人等入参数据推reids(公共)-D2-新增redis业务数据对象（业务原子）-自定义字段值21不能为空", false);
        addRedisBusinessDataSetComRespDto = businessAtomService.addRedisBusinessDataSetCom(addRedisBusinessDataSetComReqDto)/*vcase invoke isSameApp*/;


        AddTargetCycleAndPeopleEternalGinsengRedisComRespDto retData = new AddTargetCycleAndPeopleEternalGinsengRedisComRespDto();


        return retData;
    }

    /**
     * D2-查询周期类型配置详情(公共)[8581]
     * gen by moon at 5/13/2024, 10:42:05 PM
     */
    @Trace(operationName = "D2-查询周期类型配置详情(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryCycleTypeConfDetailComRespDto queryCycleTypeConfDetailCom(QueryCycleTypeConfDetailComReqDto reqDto) {


        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_1 = null;
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_3 = null;
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_5 = null;
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_7 = null;
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_9 = null;
//步骤0: M2获取接收字段 - obtainReceiveFields
        //ModelCode: receptionService
        ObtainReceiveFieldsRespDto receptionServiceRes = null;
        ObtainReceiveFieldsReqDto receptionServiceReq = new ObtainReceiveFieldsReqDto();
        if (reqDto != null) {
            receptionServiceReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1578457_1
        }

        /*M2获取接收字段[4007]  用于特殊方法接收上游入参。 */
        Assert.isNull(receptionServiceReq.getEvaluationTemplateId(), "D2-查询周期类型配置详情(公共)-M2获取接收字段-冗余评价模板ID不能为空", false);
        receptionServiceRes = nbStandardData.obtainReceiveFields(receptionServiceReq);


//步骤1: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto.setConfItemCode("CYCLE_MODE");//CUSTOM_CONVENTION//sourceId:1578481_1
        queryConfItemMatchAnswerDetailComReqDto.setIsPlatData("FALSE");//sourceId:1578482_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1578480_1
        }

        /*D2-3查周期模式（评价模板配置）[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getResultAspObjId(), "D2-查询周期类型配置详情(公共)-D2-3查周期模式（评价模板配置）-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getConfItemCode(), "D2-查询周期类型配置详情(公共)-D2-3查周期模式（评价模板配置）-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getIsPlatData(), "D2-查询周期类型配置详情(公共)-D2-3查周期模式（评价模板配置）-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto = confSchemeService.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto)/*vcase invoke isSameApp*/;


        queryConfItemMatchAnswerDetailComRespDto_1 = queryConfItemMatchAnswerDetailComRespDto;

//步骤2: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_2 = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_1 = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto_1.setConfItemCode("LAST_CYCLE_TYPE");//CUSTOM_CONVENTION//sourceId:1578506_1
        queryConfItemMatchAnswerDetailComReqDto_1.setIsPlatData("FALSE");//sourceId:1578507_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto_1.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1578505_1
        }

        /*D2-3查末级周期类型（评价模板配置）[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getResultAspObjId(), "D2-查询周期类型配置详情(公共)-D2-3查末级周期类型（评价模板配置）-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getConfItemCode(), "D2-查询周期类型配置详情(公共)-D2-3查末级周期类型（评价模板配置）-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getIsPlatData(), "D2-查询周期类型配置详情(公共)-D2-3查末级周期类型（评价模板配置）-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto_2 = confSchemeService.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_1)/*vcase invoke isSameApp*/;


        queryConfItemMatchAnswerDetailComRespDto_3 = queryConfItemMatchAnswerDetailComRespDto_2;

//步骤3: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_4 = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_2 = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto_2.setConfItemCode("SECOND_LAST_CYCLE_TYPE");//CUSTOM_CONVENTION//sourceId:1578551_1
        queryConfItemMatchAnswerDetailComReqDto_2.setIsPlatData("FALSE");//sourceId:1578552_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto_2.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1578550_1
        }

        /*D2-3查第二末级周期类型（评价模板配置）[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_2.getResultAspObjId(), "D2-查询周期类型配置详情(公共)-D2-3查第二末级周期类型（评价模板配置）-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_2.getConfItemCode(), "D2-查询周期类型配置详情(公共)-D2-3查第二末级周期类型（评价模板配置）-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_2.getIsPlatData(), "D2-查询周期类型配置详情(公共)-D2-3查第二末级周期类型（评价模板配置）-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto_4 = confSchemeService.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_2)/*vcase invoke isSameApp*/;


        queryConfItemMatchAnswerDetailComRespDto_5 = queryConfItemMatchAnswerDetailComRespDto_4;

//步骤4: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_6 = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_3 = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto_3.setConfItemCode("SUBCYCLE_TYPE");//CUSTOM_CONVENTION//sourceId:1578556_1
        queryConfItemMatchAnswerDetailComReqDto_3.setIsPlatData("FALSE");//sourceId:1578557_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto_3.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1578555_1
        }

        /*D2-3查子周期类型（评价模板配置）[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_3.getResultAspObjId(), "D2-查询周期类型配置详情(公共)-D2-3查子周期类型（评价模板配置）-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_3.getConfItemCode(), "D2-查询周期类型配置详情(公共)-D2-3查子周期类型（评价模板配置）-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_3.getIsPlatData(), "D2-查询周期类型配置详情(公共)-D2-3查子周期类型（评价模板配置）-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto_6 = confSchemeService.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_3)/*vcase invoke isSameApp*/;


        queryConfItemMatchAnswerDetailComRespDto_7 = queryConfItemMatchAnswerDetailComRespDto_6;

//步骤5: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_8 = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_4 = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto_4.setConfItemCode("ENABLE_SUBJECTIVE_RATING_CYCLE_TYPE");//CUSTOM_CONVENTION//sourceId:1798027_1
        queryConfItemMatchAnswerDetailComReqDto_4.setIsPlatData("FALSE");//sourceId:1798036_1
        if (reqDto != null) {
            queryConfItemMatchAnswerDetailComReqDto_4.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1798029_1
        }

        /*D2-3查开启主客观评分周期类型[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_4.getResultAspObjId(), "D2-查询周期类型配置详情(公共)-D2-3查开启主客观评分周期类型-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_4.getConfItemCode(), "D2-查询周期类型配置详情(公共)-D2-3查开启主客观评分周期类型-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_4.getIsPlatData(), "D2-查询周期类型配置详情(公共)-D2-3查开启主客观评分周期类型-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto_8 = confSchemeService.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_4)/*vcase invoke isSameApp*/;


        queryConfItemMatchAnswerDetailComRespDto_9 = queryConfItemMatchAnswerDetailComRespDto_8;

        QueryCycleTypeConfDetailComRespDto retData = new QueryCycleTypeConfDetailComRespDto();
        if (queryConfItemMatchAnswerDetailComRespDto_1 != null) {
            retData.setPeriodicModeTypeCode(queryConfItemMatchAnswerDetailComRespDto_1.getEndValue());//SimpleFieldAssign//sourceId:1578558_1
        }
        if (queryConfItemMatchAnswerDetailComRespDto_3 != null) {
            retData.setLastCycleType(queryConfItemMatchAnswerDetailComRespDto_3.getEndValue());//SimpleFieldAssign//sourceId:1578559_1
        }
        if (queryConfItemMatchAnswerDetailComRespDto_5 != null) {
            retData.setSecondLastCycleType(queryConfItemMatchAnswerDetailComRespDto_5.getEndValue());//SimpleFieldAssign//sourceId:1578560_1
        }
        if (queryConfItemMatchAnswerDetailComRespDto_7 != null) {
            retData.setSubcycleType(queryConfItemMatchAnswerDetailComRespDto_7.getEndValue());//SimpleFieldAssign//sourceId:1578561_1
        }
        if (queryConfItemMatchAnswerDetailComRespDto_9 != null) {
            retData.setEnableSubjectiveRatingCycleType(queryConfItemMatchAnswerDetailComRespDto_9.getEndValue());//SimpleFieldAssign//sourceId:1798053_1
        }


        return retData;
    }

    /**
     * D2查询目标内容周期等入参数据列表(redis)[9581]
     * gen by moon at 6/6/2024, 8:51:49 PM
     */
    @Trace(operationName = "D2查询目标内容周期等入参数据列表(redis)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryTargetCycleEternalGinsengListComRespDto queryTargetCycleEternalGinsengListCom(QueryTargetCycleEternalGinsengListComReqDto reqDto) {


        QueryRefRedisBusinessDataSetListComRespDto queryRefRedisBusinessDataSetListComRespDto_1 = null;
//步骤0: D2-查询入参redis业务数据对象列表（业务原子） - queryRefRedisBusinessDataSetListCom
        QueryRefRedisBusinessDataSetListComRespDto queryRefRedisBusinessDataSetListComRespDto = null;
        QueryRefRedisBusinessDataSetListComReqDto queryRefRedisBusinessDataSetListComReqDto = new QueryRefRedisBusinessDataSetListComReqDto();
        queryRefRedisBusinessDataSetListComReqDto.setRedisDataObjectCatalogue("计算临时数据");//sourceId:1823188_1
        queryRefRedisBusinessDataSetListComReqDto.setRefCustomField1("belongToContentId");//CUSTOM_CONVENTION//sourceId:1800193_1
        queryRefRedisBusinessDataSetListComReqDto.setCustomField1("previousCycleId");//CUSTOM_CONVENTION//sourceId:1800201_1
        queryRefRedisBusinessDataSetListComReqDto.setCustomField2("lastEvaObjTargetCycleId");//CUSTOM_CONVENTION//sourceId:1800202_1
        queryRefRedisBusinessDataSetListComReqDto.setCustomField3("periodId");//CUSTOM_CONVENTION//sourceId:1800203_1
        queryRefRedisBusinessDataSetListComReqDto.setCustomField4("cycleStartTime");//CUSTOM_CONVENTION//sourceId:1800204_1
        queryRefRedisBusinessDataSetListComReqDto.setCustomField5("cycleEndTime");//CUSTOM_CONVENTION//sourceId:1800205_1
        queryRefRedisBusinessDataSetListComReqDto.setCustomField6("cycleTypeCode");//CUSTOM_CONVENTION//sourceId:1800206_1
        queryRefRedisBusinessDataSetListComReqDto.setCustomField7("cycleTypeInstanceCode");//CUSTOM_CONVENTION//sourceId:1800207_1
        queryRefRedisBusinessDataSetListComReqDto.setCustomField8("entityId");//CUSTOM_CONVENTION//sourceId:1800208_1
        queryRefRedisBusinessDataSetListComReqDto.setCustomField9("belongToContentTypeCode");//CUSTOM_CONVENTION//sourceId:1800209_1
        queryRefRedisBusinessDataSetListComReqDto.setCustomField10("belongToContentId");//CUSTOM_CONVENTION//sourceId:1800210_1
        queryRefRedisBusinessDataSetListComReqDto.setCustomField11("extendedField2");//CUSTOM_CONVENTION//sourceId:1800211_1
        queryRefRedisBusinessDataSetListComReqDto.setCustomField12("personLiableObjId");//CUSTOM_CONVENTION//sourceId:1800212_1
        queryRefRedisBusinessDataSetListComReqDto.setCustomField13("bizRoleObjId");//CUSTOM_CONVENTION//sourceId:1800213_1
        queryRefRedisBusinessDataSetListComReqDto.setCustomField14("bizRoleObjCode");//CUSTOM_CONVENTION//sourceId:1800214_1
        queryRefRedisBusinessDataSetListComReqDto.setCustomField15("bizRoleObjName");//CUSTOM_CONVENTION//sourceId:1800215_1
        queryRefRedisBusinessDataSetListComReqDto.setCustomField16("belongToPersonalIdentityId");//CUSTOM_CONVENTION//sourceId:1800216_1
        queryRefRedisBusinessDataSetListComReqDto.setCustomField17("evaObjTypeCode");//CUSTOM_CONVENTION//sourceId:1815801_1
        queryRefRedisBusinessDataSetListComReqDto.setCustomField18("evaObjEntityId");//CUSTOM_CONVENTION//sourceId:1815802_1
        queryRefRedisBusinessDataSetListComReqDto.setCustomField19("parentSubMidCycleType");//CUSTOM_CONVENTION//sourceId:1853115_1
        queryRefRedisBusinessDataSetListComReqDto.setCustomField20("standardDataCalcCycleModel");//CUSTOM_CONVENTION//sourceId:1853116_1
        if (reqDto != null) {
            queryRefRedisBusinessDataSetListComReqDto.setBusinessDataObject(reqDto.getBusinessDataObject());//SimpleFieldAssign//sourceId:1800191_1
            queryRefRedisBusinessDataSetListComReqDto.setDataObjectBatchCode(reqDto.getDataObjectBatchCode());//SimpleFieldAssign//sourceId:1800192_1
            queryRefRedisBusinessDataSetListComReqDto.setRefCustomFieldValue1(reqDto.getRefCustomFieldValue1());//SimpleFieldAssign//sourceId:1800254_1
        }

        /*D2-查询入参redis业务数据对象列表（业务原子）[8443]   */
        Assert.isNull(queryRefRedisBusinessDataSetListComReqDto.getBusinessDataObject(), "D2查询目标内容周期等入参数据列表(redis)-D2-查询入参redis业务数据对象列表（业务原子）-业务数据对象不能为空", false);
        Assert.isNull(queryRefRedisBusinessDataSetListComReqDto.getDataObjectBatchCode(), "D2查询目标内容周期等入参数据列表(redis)-D2-查询入参redis业务数据对象列表（业务原子）-数据对象批次标识不能为空", false);
        Assert.isNull(queryRefRedisBusinessDataSetListComReqDto.getRedisDataObjectCatalogue(), "D2查询目标内容周期等入参数据列表(redis)-D2-查询入参redis业务数据对象列表（业务原子）-Redis数据对象目录不能为空", false);
        Assert.isNull(queryRefRedisBusinessDataSetListComReqDto.getRefCustomField1(), "D2查询目标内容周期等入参数据列表(redis)-D2-查询入参redis业务数据对象列表（业务原子）-入参自定义字段1不能为空", false);
        Assert.isNull(queryRefRedisBusinessDataSetListComReqDto.getRefCustomFieldValue1(), "D2查询目标内容周期等入参数据列表(redis)-D2-查询入参redis业务数据对象列表（业务原子）-入参自定义字段值1不能为空", false);
        Assert.isNull(queryRefRedisBusinessDataSetListComReqDto.getCustomField1(), "D2查询目标内容周期等入参数据列表(redis)-D2-查询入参redis业务数据对象列表（业务原子）-自定义字段1不能为空", false);
        Assert.isNull(queryRefRedisBusinessDataSetListComReqDto.getCustomField2(), "D2查询目标内容周期等入参数据列表(redis)-D2-查询入参redis业务数据对象列表（业务原子）-自定义字段2不能为空", false);
        Assert.isNull(queryRefRedisBusinessDataSetListComReqDto.getCustomField3(), "D2查询目标内容周期等入参数据列表(redis)-D2-查询入参redis业务数据对象列表（业务原子）-自定义字段3不能为空", false);
        Assert.isNull(queryRefRedisBusinessDataSetListComReqDto.getCustomField4(), "D2查询目标内容周期等入参数据列表(redis)-D2-查询入参redis业务数据对象列表（业务原子）-自定义字段4不能为空", false);
        Assert.isNull(queryRefRedisBusinessDataSetListComReqDto.getCustomField5(), "D2查询目标内容周期等入参数据列表(redis)-D2-查询入参redis业务数据对象列表（业务原子）-自定义字段5不能为空", false);
        Assert.isNull(queryRefRedisBusinessDataSetListComReqDto.getCustomField6(), "D2查询目标内容周期等入参数据列表(redis)-D2-查询入参redis业务数据对象列表（业务原子）-自定义字段6不能为空", false);
        Assert.isNull(queryRefRedisBusinessDataSetListComReqDto.getCustomField7(), "D2查询目标内容周期等入参数据列表(redis)-D2-查询入参redis业务数据对象列表（业务原子）-自定义字段7不能为空", false);
        Assert.isNull(queryRefRedisBusinessDataSetListComReqDto.getCustomField8(), "D2查询目标内容周期等入参数据列表(redis)-D2-查询入参redis业务数据对象列表（业务原子）-自定义字段8不能为空", false);
        Assert.isNull(queryRefRedisBusinessDataSetListComReqDto.getCustomField9(), "D2查询目标内容周期等入参数据列表(redis)-D2-查询入参redis业务数据对象列表（业务原子）-自定义字段9不能为空", false);
        Assert.isNull(queryRefRedisBusinessDataSetListComReqDto.getCustomField10(), "D2查询目标内容周期等入参数据列表(redis)-D2-查询入参redis业务数据对象列表（业务原子）-自定义字段10不能为空", false);
        Assert.isNull(queryRefRedisBusinessDataSetListComReqDto.getCustomField11(), "D2查询目标内容周期等入参数据列表(redis)-D2-查询入参redis业务数据对象列表（业务原子）-自定义字段11不能为空", false);
        Assert.isNull(queryRefRedisBusinessDataSetListComReqDto.getCustomField12(), "D2查询目标内容周期等入参数据列表(redis)-D2-查询入参redis业务数据对象列表（业务原子）-自定义字段12不能为空", false);
        Assert.isNull(queryRefRedisBusinessDataSetListComReqDto.getCustomField13(), "D2查询目标内容周期等入参数据列表(redis)-D2-查询入参redis业务数据对象列表（业务原子）-自定义字段13不能为空", false);
        Assert.isNull(queryRefRedisBusinessDataSetListComReqDto.getCustomField14(), "D2查询目标内容周期等入参数据列表(redis)-D2-查询入参redis业务数据对象列表（业务原子）-自定义字段14不能为空", false);
        Assert.isNull(queryRefRedisBusinessDataSetListComReqDto.getCustomField15(), "D2查询目标内容周期等入参数据列表(redis)-D2-查询入参redis业务数据对象列表（业务原子）-自定义字段15不能为空", false);
        Assert.isNull(queryRefRedisBusinessDataSetListComReqDto.getCustomField16(), "D2查询目标内容周期等入参数据列表(redis)-D2-查询入参redis业务数据对象列表（业务原子）-自定义字段16不能为空", false);
        Assert.isNull(queryRefRedisBusinessDataSetListComReqDto.getCustomField17(), "D2查询目标内容周期等入参数据列表(redis)-D2-查询入参redis业务数据对象列表（业务原子）-自定义字段17不能为空", false);
        Assert.isNull(queryRefRedisBusinessDataSetListComReqDto.getCustomField18(), "D2查询目标内容周期等入参数据列表(redis)-D2-查询入参redis业务数据对象列表（业务原子）-自定义字段18不能为空", false);
        Assert.isNull(queryRefRedisBusinessDataSetListComReqDto.getCustomField19(), "D2查询目标内容周期等入参数据列表(redis)-D2-查询入参redis业务数据对象列表（业务原子）-自定义字段19不能为空", false);
        Assert.isNull(queryRefRedisBusinessDataSetListComReqDto.getCustomField20(), "D2查询目标内容周期等入参数据列表(redis)-D2-查询入参redis业务数据对象列表（业务原子）-自定义字段20不能为空", false);
        queryRefRedisBusinessDataSetListComRespDto = businessAtomService.queryRefRedisBusinessDataSetListCom(queryRefRedisBusinessDataSetListComReqDto)/*vcase invoke isSameApp*/;


        queryRefRedisBusinessDataSetListComRespDto_1 = queryRefRedisBusinessDataSetListComRespDto;

        QueryTargetCycleEternalGinsengListComRespDto retData = new QueryTargetCycleEternalGinsengListComRespDto();
        if (queryRefRedisBusinessDataSetListComRespDto_1 != null) {
            retData.setRedisBusinessDataResList(//objList-to-objLists
                    queryRefRedisBusinessDataSetListComRespDto_1.getRedisBusinessDataResList().stream().map(item -> {
                        RedisBusinessDataResDto elm = new RedisBusinessDataResDto();
                        if (item != null) {
                            elm.setPreviousCycleId(item.getCustomField1());//SimpleFieldAssign//sourceId:362759_2
                            elm.setLastEvaObjTargetCycleId(item.getCustomField2());//SimpleFieldAssign//sourceId:362760_2
                            elm.setPeriodId(item.getCustomField3());//SimpleFieldAssign//sourceId:362761_2
                            elm.setCycleStartTime(item.getCustomField4() != null ? CommonFunctionHelper.str2Date(item.getCustomField4()) : null);//SimpleFieldAssign//sourceId:362762_2
                            elm.setCycleEndTime(item.getCustomField5() != null ? CommonFunctionHelper.str2Date(item.getCustomField5()) : null);//SimpleFieldAssign//sourceId:362763_2
                            elm.setCycleTypeCode(item.getCustomField6());//SimpleFieldAssign//sourceId:362764_2
                            elm.setCycleTypeInstanceCode(item.getCustomField7());//SimpleFieldAssign//sourceId:362765_2
                            elm.setEvaObjEntityId(item.getCustomField18());//SimpleFieldAssign//sourceId:365099_2
                            elm.setEvaObjTypeCode(item.getCustomField17());//SimpleFieldAssign//sourceId:365098_2
                            elm.setEntityId(item.getCustomField8());//SimpleFieldAssign//sourceId:362766_2
                            elm.setBelongToContentTypeCode(item.getCustomField9());//SimpleFieldAssign//sourceId:362767_2
                            elm.setBelongToContentId(item.getCustomField10());//SimpleFieldAssign//sourceId:362768_2
                            elm.setExtendedField2(item.getCustomField11());//SimpleFieldAssign//sourceId:362769_2
                            elm.setPersonLiableObjId(item.getCustomField12());//SimpleFieldAssign//sourceId:362770_2
                            elm.setBizRoleObjId(item.getCustomField13());//SimpleFieldAssign//sourceId:362771_2
                            elm.setBizRoleObjCode(item.getCustomField14());//SimpleFieldAssign//sourceId:362772_2
                            elm.setBizRoleObjName(item.getCustomField15());//SimpleFieldAssign//sourceId:362773_2
                            elm.setBelongToPersonalIdentityId(item.getCustomField16());//SimpleFieldAssign//sourceId:362774_2
                            elm.setParentSubMidCycleType(item.getCustomField19());//SimpleFieldAssign//sourceId:371230_2
                            elm.setStandardDataCalcCycleModel(item.getCustomField20());//SimpleFieldAssign//sourceId:371231_2
                        }
                        return elm;
                    }).collect(Collectors.toList()));//objList-to-objLists//sourceId:1800353_1
        }


        return retData;
    }

    /**
     * D2循环增财务账户标准数据快照个性准备(Redis)[9582]
     * gen by moon at 6/6/2024, 8:51:50 PM
     */
    @Trace(operationName = "D2循环增财务账户标准数据快照个性准备(Redis)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ImplementLoopAddPersonPreFinStandardDataSnapshotComRespDto implementLoopAddPersonPreFinStandardDataSnapshotCom(ImplementLoopAddPersonPreFinStandardDataSnapshotComReqDto reqDto) {


        //virtualUsage D2查询目标内容周期等入参数据列表(redis)  68440
        QueryTargetCycleEternalGinsengListComRespDto queryTargetCycleEternalGinsengListComRespDto = null;
        QueryTargetCycleEternalGinsengListComReqDto queryTargetCycleEternalGinsengListComReqDto = new QueryTargetCycleEternalGinsengListComReqDto();
        if (reqDto != null) {
            queryTargetCycleEternalGinsengListComReqDto.setBusinessDataObject(reqDto.getBusinessDataObject());//SimpleFieldAssign//sourceId:1801162_1_68440
            queryTargetCycleEternalGinsengListComReqDto.setDataObjectBatchCode(reqDto.getDataObjectBatchCode());//SimpleFieldAssign//sourceId:1801163_1_68440
            queryTargetCycleEternalGinsengListComReqDto.setRefCustomFieldValue1(reqDto.getAccountObjectId());//SimpleFieldAssign//sourceId:1801232_1_68440
        }

        /*D2查询目标内容周期等入参数据列表(redis)[9581]   */
        Assert.isNull(queryTargetCycleEternalGinsengListComReqDto.getBusinessDataObject(), "D2循环增财务账户标准数据快照个性准备(Redis)-D2查询目标内容周期等入参数据列表(redis)-业务数据对象不能为空", false);
        Assert.isNull(queryTargetCycleEternalGinsengListComReqDto.getDataObjectBatchCode(), "D2循环增财务账户标准数据快照个性准备(Redis)-D2查询目标内容周期等入参数据列表(redis)-数据对象批次标识不能为空", false);
        Assert.isNull(queryTargetCycleEternalGinsengListComReqDto.getRefCustomFieldValue1(), "D2循环增财务账户标准数据快照个性准备(Redis)-D2查询目标内容周期等入参数据列表(redis)-关联归属主体ID不能为空", false);
        queryTargetCycleEternalGinsengListComRespDto = queryTargetCycleEternalGinsengListCom(queryTargetCycleEternalGinsengListComReqDto)/*vcase invoke 同服务,同domain*/;


        if ((queryTargetCycleEternalGinsengListComRespDto != null && queryTargetCycleEternalGinsengListComRespDto.getRedisBusinessDataResList() != null && queryTargetCycleEternalGinsengListComRespDto.getRedisBusinessDataResList().size() > 0)) {
            //if(D2查询目标内容周期等入参数据列表(redis).出参redis业务数据对象列表数据集条数 大于 0)  68441

//ModelCode: circulationCollections
            for (RedisBusinessDataResDto circulationCollectionsRes : queryTargetCycleEternalGinsengListComRespDto.getRedisBusinessDataResList()) {

                AddPersonPreFinStandardDataSnapshotComRespDto addPersonPreFinStandardDataSnapshotComRespDto = null;
                AddPersonPreFinStandardDataSnapshotComReqDto addPersonPreFinStandardDataSnapshotComReqDto = new AddPersonPreFinStandardDataSnapshotComReqDto();
                addPersonPreFinStandardDataSnapshotComReqDto.setBusinessDataObject("ACCT_STD_DATA_AMT_SNAP");//sourceId:1800168_1_68444
                if (reqDto != null) {
                    addPersonPreFinStandardDataSnapshotComReqDto.setDataObjectBatchCode(reqDto.getDataObjectBatchCode());//SimpleFieldAssign//sourceId:1800169_1_68444
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue26(reqDto.getPreUpdateCycleId());//SimpleFieldAssign//sourceId:1801326_1_68444
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue27(reqDto.getPreUpdateEvaTargetCycleId());//SimpleFieldAssign//sourceId:1801327_1_68444
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue16(reqDto.getAccountId());//SimpleFieldAssign//sourceId:1800184_1_68444
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue1(reqDto.getIsBudgetAccount());//SimpleFieldAssign//sourceId:1800170_1_68444
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue17(reqDto.getTotalBudgetAmount() != null ? String.valueOf(reqDto.getTotalBudgetAmount()) : "");//SimpleFieldAssign//sourceId:1800185_1_68444
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue18(reqDto.getAccountActualBalance() != null ? String.valueOf(reqDto.getAccountActualBalance()) : "");//SimpleFieldAssign//sourceId:1800186_1_68444
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue19(reqDto.getSettlableBalance() != null ? String.valueOf(reqDto.getSettlableBalance()) : "");//SimpleFieldAssign//sourceId:1800187_1_68444
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue20(reqDto.getUnSettlableBalance() != null ? String.valueOf(reqDto.getUnSettlableBalance()) : "");//SimpleFieldAssign//sourceId:1800188_1_68444
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue21(reqDto.getAccruedSettledAmount() != null ? String.valueOf(reqDto.getAccruedSettledAmount()) : "");//SimpleFieldAssign//sourceId:1800189_1_68444
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue22(reqDto.getFundUsageRate() != null ? String.valueOf(reqDto.getFundUsageRate()) : "");//SimpleFieldAssign//sourceId:1800190_1_68444
                }
                if (circulationCollectionsRes != null) {
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue23(circulationCollectionsRes.getPreviousCycleId());//SimpleFieldAssign//sourceId:1801225_1_68444
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue24(circulationCollectionsRes.getLastEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1801226_1_68444
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue3(circulationCollectionsRes.getPeriodId());//SimpleFieldAssign//sourceId:1800172_1_68444
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue4(circulationCollectionsRes.getCycleStartTime() != null ? String.valueOf(circulationCollectionsRes.getCycleStartTime()) : "");//SimpleFieldAssign//sourceId:1800173_1_68444
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue5(circulationCollectionsRes.getCycleEndTime() != null ? String.valueOf(circulationCollectionsRes.getCycleEndTime()) : "");//SimpleFieldAssign//sourceId:1800174_1_68444
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue6(circulationCollectionsRes.getCycleTypeCode());//SimpleFieldAssign//sourceId:1800175_1_68444
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue7(circulationCollectionsRes.getCycleTypeInstanceCode());//SimpleFieldAssign//sourceId:1800176_1_68444
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue29(circulationCollectionsRes.getEvaObjEntityId());//SimpleFieldAssign//sourceId:1815814_1_68444
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue28(circulationCollectionsRes.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:1815813_1_68444
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue9(circulationCollectionsRes.getEntityId());//SimpleFieldAssign//sourceId:1800177_1_68444
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue2(circulationCollectionsRes.getBelongToContentTypeCode());//SimpleFieldAssign//sourceId:1800171_1_68444
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue10(circulationCollectionsRes.getBelongToContentId());//SimpleFieldAssign//sourceId:1800178_1_68444
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue11(circulationCollectionsRes.getExtendedField2());//SimpleFieldAssign//sourceId:1800179_1_68444
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue12(circulationCollectionsRes.getPersonLiableObjId());//SimpleFieldAssign//sourceId:1800180_1_68444
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue13(circulationCollectionsRes.getBizRoleObjId());//SimpleFieldAssign//sourceId:1800181_1_68444
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue14(circulationCollectionsRes.getBizRoleObjCode());//SimpleFieldAssign//sourceId:1800182_1_68444
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue15(circulationCollectionsRes.getBizRoleObjName());//SimpleFieldAssign//sourceId:1800183_1_68444
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue25(circulationCollectionsRes.getBelongToPersonalIdentityId());//SimpleFieldAssign//sourceId:1801231_1_68444
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue30(circulationCollectionsRes.getStandardDataCalcCycleModel());//SimpleFieldAssign//sourceId:1853085_1_68444
                    addPersonPreFinStandardDataSnapshotComReqDto.setCustomFieldValue31(circulationCollectionsRes.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1853086_1_68444
                }

                /*D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)[8439]   */
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getBusinessDataObject(), "D2循环增财务账户标准数据快照个性准备(Redis)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-业务数据对象不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue3(), "D2循环增财务账户标准数据快照个性准备(Redis)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-周期ID不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue4(), "D2循环增财务账户标准数据快照个性准备(Redis)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-周期开始时间不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue5(), "D2循环增财务账户标准数据快照个性准备(Redis)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-周期结束时间不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue6(), "D2循环增财务账户标准数据快照个性准备(Redis)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-周期类型标识不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue29(), "D2循环增财务账户标准数据快照个性准备(Redis)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-被评对象内容表主键ID不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue28(), "D2循环增财务账户标准数据快照个性准备(Redis)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-被评对象类型编码不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue9(), "D2循环增财务账户标准数据快照个性准备(Redis)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-归属内容表主键ID不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue2(), "D2循环增财务账户标准数据快照个性准备(Redis)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-数据归属内容表类型编码不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue10(), "D2循环增财务账户标准数据快照个性准备(Redis)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-数据归属内容表主键ID不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue12(), "D2循环增财务账户标准数据快照个性准备(Redis)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-填报评价责任人对象ID不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue13(), "D2循环增财务账户标准数据快照个性准备(Redis)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-填报评价责任人业务角色对象ID不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue14(), "D2循环增财务账户标准数据快照个性准备(Redis)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-填报评价责任人业务角色标识不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue15(), "D2循环增财务账户标准数据快照个性准备(Redis)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-填报评价责任人业务角色对象名称不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue25(), "D2循环增财务账户标准数据快照个性准备(Redis)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-数据归属对象ID不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue16(), "D2循环增财务账户标准数据快照个性准备(Redis)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-归属账户ID不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue1(), "D2循环增财务账户标准数据快照个性准备(Redis)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-是否预算账户不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue17(), "D2循环增财务账户标准数据快照个性准备(Redis)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-总金额不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue18(), "D2循环增财务账户标准数据快照个性准备(Redis)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-账户余额不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue19(), "D2循环增财务账户标准数据快照个性准备(Redis)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-可用金额不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue20(), "D2循环增财务账户标准数据快照个性准备(Redis)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-冻结金额不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue21(), "D2循环增财务账户标准数据快照个性准备(Redis)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-累计结算金额不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue30(), "D2循环增财务账户标准数据快照个性准备(Redis)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-本目标归属周期的计算周期五模型不能为空", false);
                Assert.isNull(addPersonPreFinStandardDataSnapshotComReqDto.getCustomFieldValue31(), "D2循环增财务账户标准数据快照个性准备(Redis)-D2-新增财务账户标准数据快照个性准备(目标内容周期、相关人与账户等redis)-父子中过程周期类型不能为空", false);
                addPersonPreFinStandardDataSnapshotComRespDto = addPersonPreFinStandardDataSnapshotCom(addPersonPreFinStandardDataSnapshotComReqDto)/*vcase invoke 同服务,同domain*/;


//ModelCode: circulationEnd
            }

        }
        ImplementLoopAddPersonPreFinStandardDataSnapshotComRespDto retData = new ImplementLoopAddPersonPreFinStandardDataSnapshotComRespDto();


        return retData;
    }
    //
}
